﻿@model MAPDavy.Entities.Term
           
<fieldset>
        <legend>Term</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.NameTerm)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NameTerm)
            @Html.ValidationMessageFor(model => model.NameTerm)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.FechaAplicacion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FechaAplicacion)
            @Html.ValidationMessageFor(model => model.FechaAplicacion)
        </div>
        <div class="editor-field">
            @Html.LabelFor(model => model.Cerrado)
            @Html.CheckBoxFor(model => model.Cerrado, new { @id = "isClose", @name = "isClose" })
            @Html.ValidationMessageFor(model => model.Cerrado)
        </div>  
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>